<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="UTF-8">
    <title>房产BD</title>

    <script src="webjars/extjs/6.2.0/include.js"></script>
    <script src="webjars/extjs/6.2.0/init.js"></script>
    <link rel="stylesheet"
          href="webjars/extjs/6.2.0/no_box_shadow.css">
</head>
<body>
<script type="text/javascript">
    Ext.onReady(function () {
        Ext.Ajax.request({
            url: 'test',
            timeout: 10 * 1000,
            success: function (resp) {
                console.log(resp.responseText)
            },
            failure: function (error) {
                console.log("error")
            }
        });
    });
</script>
</body>
</html>